import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopSms/list',
method: 'get',
params: params
})
}
export function createShopSms(data) {
return request({
url: '/shop/shopSms/create',
method: 'post',
data: data
})
}

export function deleteShopSms(id) {
return request({
url: '/shop/shopSms/delete/' + id,
method: 'get',
})
}

export function getShopSms(id) {
return request({
url: '/shop/shopSms/' + id,
method: 'get',
})
}

export function updateShopSms(id, data) {
return request({
url: '/shop/shopSms/update/' + id,
method: 'post',
data: data
})
}

